package com.engineering.elink.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.engineering.elink.co.StaffCo;
import com.engineering.elink.domain.Staff;

public interface StaffMapper {
    int deleteByPrimaryKey(Integer staffId);

    int insert(Staff record);

    int insertSelective(Staff record);

    Staff selectByPrimaryKey(Integer staffId);

    int updateByPrimaryKeySelective(Staff record);

    int updateByPrimaryKey(Staff record);
    
    Staff selectByUserIdAndStaffUserId (@Param("userId") String userId,@Param("staffUserId") String staffUserId);
    
    List<Map<String,Object>>  selectStaffList (@Param("sco") StaffCo sco);
    
    int selectStaffListCount (@Param("sco") StaffCo sco);
}